/* From Uiverse.io by muqaddasjamal */
/* From Uiverse.io by terenceodonoghue */
.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  animation: rotate_3922 1.2s linear infinite;
  background-color: #9b59b6;
  background-image: linear-gradient(#9b59b6, #84cdfa, #5ad1cd);
}

.circle span {
  position: absolute;
  border-radius: 50%;
  height: 100%;
  width: 100%;
  background-color: #9b59b6;
  background-image: linear-gradient(#9b59b6, #84cdfa, #5ad1cd);
}

.circle span:nth-of-type(1) {
  filter: blur(1px);
}

.circle span:nth-of-type(2) {
  filter: blur(2px);
}

.circle span:nth-of-type(3) {
  filter: blur(5px);
}

.circle span:nth-of-type(4) {
  filter: blur(10px);
}

.circle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #fff;
  border: solid 5px #ffffff;
  border-radius: 50%;
}

@keyframes rotate_3922 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


.room {
  margin-top: 5vh;
  width: 70%;
  height: 600px;
  background-color: var(--theme_bg_color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;

  .header {
    background: var(--theme_card_color);
    color: var(--theme_font_color);
    padding: 10px;
    box-sizing: border-box;
    font-size: 20px;
    border-radius: 10px 10px 0 0;
  }

  .main {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    font-size: 20px;
    overflow-y: scroll;

    .el-empty {
      padding: 0;
    }

    .chat {
      display: flex;
      padding-bottom: 20px;

      .chat-left {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 6px;
        background-color: #d7d5d5;

        img {
          width: 30px;
          height: 30px;
          border-radius: 6px;
        }
      }

      .chat-right {
        .username {
          font-size: 14px;
          color: #999;
          margin-bottom: 4px;
        }

        .chat-content {
          word-break: break-all;
          font-size: 14px;
          position: relative;
          min-width: 20px;
          min-height: 20px;
          color: #333;
          padding: 5px;
          background-color: #fff;
          border-radius: 6px;
        }
      }

    }

  }



  .footer {
    width: 100%;
    border-top: 1px solid #E0E0E0;
    border-radius: 0 0 10px 10px;

    .ipt,
    textarea {
      display: block;
      font-family: "微软雅黑";
      font-size: 14px;
      padding: 10px;
      width: 100%;
      height: 200px;
      outline-color: #409eff;
      color: var(--theme_font_color);
      border: 1px solid #e7e7e700;
      border-radius: 0 0 10px 10px;
      transition: all 0.3s;
      resize: none;
      background-color: var(--theme_card_color);
    }
  }

}